package com.sskj.givecoin.m.bean;

import java.util.List;

public class CommonBean {

    /**
     * sum : 0
     * nowpage : 1
     * nownums : 5
     * data : [{"id":"3","userid":"0","nums":"123.00","type":"0","time":"2019-04-01 10:33:04","from_userid":"0"},{"id":"7","userid":"2","nums":"300.00","type":"3","time":"2019-04-01 11:06:34","from_userid":"2"},{"id":"8","userid":"0","nums":"100.00","type":"1","time":"2019-04-01 13:52:33","from_userid":"0"},{"id":"9","userid":"0","nums":"100.00","type":"1","time":"2019-04-01 13:56:25","from_userid":"0"},{"id":"10","userid":"0","nums":"100.00","type":"1","time":"2019-04-01 13:58:46","from_userid":"0"}]
     */

    private String sum;
    private int nowpage;
    private int nownums;
    private List<DataBean> data;
    private List<DataBean> res;

    public List<DataBean> getRes() {
        return res;
    }

    public void setRes(List<DataBean> res) {
        this.res = res;
    }

    public String getSum() {
        return sum;
    }

    public void setSum(String sum) {
        this.sum = sum;
    }

    public int getNowpage() {
        return nowpage;
    }

    public void setNowpage(int nowpage) {
        this.nowpage = nowpage;
    }

    public int getNownums() {
        return nownums;
    }

    public void setNownums(int nownums) {
        this.nownums = nownums;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 3
         * userid : 0
         * nums : 123.00
         * type : 0
         * time : 2019-04-01 10:33:04
         * from_userid : 0
         */

        private String id;
        private String userid;
        private String nums;
        private int type;
        private String time;
        private String addtime;
        private String price;
        private int state;
        private String memo;

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getMemo() {
            return memo;
        }

        public void setMemo(String memo) {
            this.memo = memo;
        }

        public String getRealname() {
            return realname;
        }

        public void setRealname(String realname) {
            this.realname = realname;
        }

        private String realname;
        private String from_userid;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        public String getNums() {
            return nums;
        }

        public void setNums(String nums) {
            this.nums = nums;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getFrom_userid() {
            return from_userid;
        }

        public void setFrom_userid(String from_userid) {
            this.from_userid = from_userid;
        }
    }
}

